darken scss

93

$btn-bkg: purple;
.btn {
  display: inline-block;
  padding: 18px;
  background: $btn-bkg;
  color: white;
  &:hover {
    background: darken($btn-bkg, 10%)
  }
}

Comments

Submit
0 Comments